Skip to content

docs: 'Where Values Come From' determinism boundary concept (#206) - #209

Merged
lex00 merged 1 commit into
mainfrom
feat/determinism-boundary-doc
Jun 6, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/determinism-boundary-doc

Conversation

@lex00

@lex00 lex00 commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

What

Adds a new Core Concepts page, Where Values Come From, that draws chant's synthesis determinism boundary as a reader-facing taxonomy:

  • Static data — literals, consts, cross-resource references, layered const merges. Resolved at synthesis. Allowed.
  • Deploy-time input — parameters, intrinsics, cross-stack outputs. Resolved at apply, by the platform. Allowed.
  • Runtime lookup — API calls, secret reads, HTTP fetches during build. Refused by EVL.

It states the test ("if a value can change without the source changing, it is not static data"), the two legitimate ways across the boundary (resolve before synthesis, or defer to apply), and why the line is held.

Why

Pass-one deliverable for #206. This is the canonical boundary page that the config-composition (#203) and vendoring (#205) work reference instead of re-deriving the determinism line each time. Per the umbrella (#198), #206 is the Tier-1 "do first" item because it gates that downstream work.

Decision on lint messaging

The #206 research asked whether EVL lint messages should change. Decision: no change now. EVL diagnostics already point to the Evaluability Rules reference; this page gives the conceptual home those rules sit under. Revisit only if users report confusion — out of scope for this docs PR.

Changes

  • New concepts/where-values-come-from.mdx
  • Cross-link from concepts/typescript-as-data.mdx
  • Sidebar entry after "TypeScript as Data"

Verification

npm run build in docs/ passes; the new page renders. Internal links point to existing slugs (typescript-as-data, lint-rules/evaluability, philosophy).

Closes #206.

Draw the synthesis determinism boundary as a reader-facing taxonomy:
static data (resolved at synthesis), deploy-time input (resolved at
apply by the platform), and runtime lookup (refused by EVL). Give the
canonical 'where does this value belong' page that config-composition
and vendoring work can reference instead of re-deriving the line.

Cross-linked from TypeScript as Data; added to Core Concepts sidebar
after it.
@lex00
lex00 merged commit 55f5d24 into main Jun 6, 2026
6 checks passed
@lex00
lex00 deleted the feat/determinism-boundary-doc branch June 6, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

research: document the synthesis determinism boundary (config-as-data vs runtime lookups)

1 participant